package com.copa.module.order.service;

import com.copa.domain.ResponseDto;
import com.copa.module.order.domain.dto.OrderDetailDto;
import com.copa.module.order.domain.dto.OrderListDto;
import com.copa.module.order.domain.vo.OrderAddVo;
import com.copa.module.order.domain.vo.OrderRefundVo;

import java.util.List;

/**
 * @author copa
 * @createDate 2021-01-25 11:59
 * @function
 */
public interface OrderService {
    ResponseDto<String> post(OrderAddVo orderAddVo, String openId);

    ResponseDto<List<OrderListDto>> list(Long orderStatus, String openId);

    ResponseDto<String> cancel(Long orderId, String openId);

    ResponseDto<OrderDetailDto> detail(Long orderId, String openId);

    ResponseDto<String> applyRefund(OrderRefundVo orderRefundVo, String openId);
}
